package com.edu.mybatis.mapper;

import com.edu.mybatis.bean.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DynamicSQLMapper {
    List<Employee> getEmployeesByName(String firstName, String lastName);

    List<Employee> getEmployeesByIdIn(@Param("ids") List<Integer> ids);
}
